<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="./assets/css/bootstrap.min.css" rel="stylesheet"> 
</head>
<body>
<div class="container">
<div class="jumbotron">

 
   <class="page-header">
 

    <!--nav-->
    <div class="row">
        <nav class="navbar navbar-inverse" role="navigation">
           
            <!--nav start-->
                <div class="collapse navbar-collapse col-sm-6" id="example-navbar-collapse">

                    <ul class="nav navbar-nav">
                      <li><a href="index.php?c=index&m=index">主页</a></li>

                      <li><a href="index.php?c=index&m=movie" span class="glyphicon glyphicon-picture">电影</a></li>

                      <li><a href="index.php?c=index&m=tv">电视剧</a></li>

                      <li><a href="index.php?c=index&m=music"  span class="glyphicon glyphicon-picture">音乐剧</a></li>
                    
                  </ul>

 </div>




                </div>



            <div></div>
             <!-- search-->
                     <form action="video/select1.php" method="POST" enctype="multipart/form-data" class="navbar-form navbar-left col-sm-3" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" id="videoname"  name="videoname"   placeholder="Search">

                    </div>
              
             
              <button type="submit" class="btn btn-default">搜索</button>

                    </div>          
                </form>
             

              </form>
              <ul class="nav navbar-nav navbar-right">
              <?php 
              session_start(); 
              if(isset($_SESSION["uname"])){ 
              ?>
              <li role="presentation"><a href="index.php?c=index&m=logout">注销</a></li>
              <li role="presentation"><a href="index.php?c=index&m=reguser">注册</a></li>
              <li class="active"><a href="#" >欢迎 
              
                 <?php echo " ".$_SESSION["uname"]." ";}
                else {?> 
              <li role="presentation"><a href="index.php?c=index&m=login">登陆</a></li>
              <li role="presentation"><a href="admin.php?c=user&m=reguser">注册</a></li>
              <li class="active"><a href="#" >欢迎  
                <?php echo "您";}
                 ?>访问本站</a></li>
        </ul>
        </nav>
    </div>
    <!-- content-->
    <div class="row">
        <!--ppt-->
        <div class="col-lg-8">
            <div id="myCarousel" class="carousel slide">
                <!-- 轮播（Carousel）指标 -->
                <ol class="carousel-indicators">
                    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                    <li data-target="#myCarousel" data-slide-to="1"></li>
                    <li data-target="#myCarousel" data-slide-to="2"></li>
                </ol>
                <!-- 轮播（Carousel）项目 -->
                <div class="carousel-inner">
                    <div class="item active">
                        <img src="./poster/20.jpg" alt="First slide">
                    </div>
                    <div class="item">
                        <img src="./poster/19.jpg" alt="Second slide">
                    </div>
                    <div class="item">
                        <img src="./poster/18.jpg" alt="Third slide">
                    </div>
                </div>
                <!-- 轮播（Carousel）导航 -->

                <a class="carousel-control left" href="#myCarousel"
                   data-slide="prev">&lsaquo;</a>
                <a class="carousel-control right" href="#myCarousel"
                   data-slide="next">&rsaquo;</a>
            </div>
        </div>

        <!--rencently -->

        <div class="panel panel-warning col-lg-4">
            <div class="panel-heading">
                <h2 class="panel-title">
                    <strong   span class="glyphicon gyphicon-user">最新热映电影</strong>
                </h2>
            </div>
            <div class="panel-body">
                <ul class="list-group">
                    <li class="list-group-item">火星救援<span class="badge">上映期</span></li>
                    <li class="list-group-item">煸炒大战<span class="badge">6</span></li>
                    <li class="list-group-item">自杀小队<span class="badge">12</span></li>
                    <li class="list-group-item">熊出没<span class="badge">14</span></li>
                    <li class="list-group-item">艾哈<span class="badge">50</span></li>
                </ul>

            </div>
        </div>

          </div>



    <div class="row">
        <div class="col-lg-6">
             
             <div class="thumbnail">
                <img src="./poster/20.jpg"
                     alt="1-2" class="col-lg-4" width="160" height="100">
                <div class="caption" class="col-lg-8">
                    <h3></h3>
                   
                    <div class="btn-group">
                        <a href="ftp://172.24.4.49/dyzl/huoyingrenzhe[42].mp4" class="btn btn-warning" role="button">
                            下载
                        </a>
                        <a href="index.php?c=index&m=show&vid=17" class="btn btn-default" role="button">
                            详情
                        </a>
                        
                        
                    </div>
                </div>
            </div>
             <div class="thumbnail">
                 <img src="./poster/15.jpg"
                     alt="1-2" class="col-lg-4" width="160" height="100">
                  <div class="caption" class="col-lg-8">
                      <h3></h3>
                   
                    <div class="btn-group">
                        <a href="ftp://172.24.4.49/gqzl/ccnn2/ccnn2[42]1.mp4" class="btn btn-warning" role="button">
                            下载
                        </a>
                        <a href="index.php?c=index&m=show&vid=23" class="btn btn-default" role="button">
                            详情
                        </a>
                        
                    </div>
                </div>
            </div>


           
</div>
    </div>

    </div>
    <!--artcial-->

   
    
    <div class="row">
         <ul class="nav navbar col-lg-5 col-md-offset-4">
             <li class="col-lg-3">谢谢支持</li>
      
        
         </ul>
    </div>

<!-- jQuery (Bootstrap 的 JavaScript 插件需要引入 jQuery) -->
<script src="https://code.jquery.com/jquery.js"></script>
<!-- 包括所有已编译的插件 -->
<script src="./assets/js/bootstrap.min.js"></script>
</body>
</html>